import request from '@/utils/request'

// 查询留言
export function listMessages() {
  return request({
    url: '/message/message/list',
    method: 'get',
  })
}

// 用户留言
export function addMessage(data) {
  return request({
    url: '/message/message/addMessage',
    method: 'post',
    data: data
  })
}
